package com.direct.service;

import java.sql.SQLException;

public interface BaseService<T> {
	/**
	 * 添加
	 * @param T
	 * @throws SQLException
	 */
	public void add(T t) throws SQLException;
	/**
	 * 修改
	 * @param T
	 * @throws SQLException
	 */
	public void update(T t)throws SQLException;
	/**
	 * 删除
	 * @param id
	 * @throws SQLException
	 */
	public void delete(String id) throws SQLException;
	
}
